package com.ahs.pojo;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 操作日志表Model
 *
 * @author riven zhang
 * @since 2021-03-31
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("log")
@ApiModel(value = "Log对象", description = "操作日志表")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("id")
    private Integer id;

    @ApiModelProperty(value = "操作人")
    @TableField("operator")
    private String operator;

    @ApiModelProperty(value = "操作时间")
    @TableField("create_dt")
    private Date createDt;

    @ApiModelProperty(value = "修改的项目名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "操作类型：1新建，2删除，3修改")
    @TableField("type")
    private String type;
}
